package bubble;

public class Generation {
	static void randomGen(int array[], int minn, int maxx) {
		for (int i = 0; i < array.length; i++) {
			// Min + (int)(Math.random() * ((Max - Min) + 1))
			array[i] = minn + (int) (Math.random() * ((maxx - minn) + 1));
		}

	}

	static void orderedGen(int array[]) {
		for (int i = 0; i < array.length; i++) {
			array[i] = i + 1;
		}
	}

	static void reverseGen(int array[]) {
		for (int i = 0; i < array.length; i++) {
			array[i] = array.length - i;
		}
	}
}